﻿using AutoMapper;
using B.Auth.APi.Application.Command.Leaves;
using B.Auth.Domain.Entity;

namespace B.Auth.APi.Application
{
    public class Mapping:Profile
    {
        public Mapping() {

            CreateMap<LeaveModel, LeaveAddCommand>().ReverseMap();
            CreateMap<LeaveModel, LeaveUpdataCommand>().ReverseMap();
            CreateMap<LeaveModel, LeaveDelCommand>().ReverseMap();
            CreateMap<LeaveModel, LeaveShenSaveCommand>().ReverseMap();
        }
    }
}
